//
//  PhoneLoginService.swift
//  User
//
//  Created by ET|冰琳 on 2017/1/9.
//  Copyright © 2017年 IB. All rights reserved.
//

import ReactiveSwift

public protocol PhonePwdLoginService {
    
    associatedtype PhonePwdLoginResult
    
    /// 手机号密码登录
    /// login with phone and password
    ///
    /// - Parameters:
    ///   - phone: String
    ///   - pwd:   String
    /// - Returns: SignalProducer<ResultType, NSError>
    func loginWith(phone: String?, pwd: String?) -> SignalProducer<PhonePwdLoginResult, NSError>
}
